package com.example.service;

import com.example.domain.AddressBook;

import java.util.List;

public interface IAddressBookService {
    public List<AddressBook> list(Long id);
    public void IsDefault(AddressBook addressBook,Long id);
    public void save(AddressBook addressBook,Long id);
    public AddressBook getById(Long id,Long userId);
    public void update(AddressBook addressBook);
    public void delete(Long id,Long userId);
    public AddressBook defalt(Long id);
}
